package pojo;

import lombok.Data;

import java.util.Date;

@Data
public class RentalRecord {
    private int record_id;//记录ID
    private int customer_id;//顾客ID
    private int car_id;//车辆ID
    private Date  start_date;//租赁开始时间
    private Date  end_date;//租赁结束时间
    private int  rental_fee;//租金
    private String  rental_status;//租车状态
    private int  rental_days;//租车天数

    public RentalRecord(int record_id, int customer_id, int car_id, Date start_date, Date end_date, int rental_fee, String rental_status, int rental_days) {
        this.record_id = record_id;
        this.customer_id = customer_id;
        this.car_id = car_id;
        this.start_date = start_date;
        this.end_date = end_date;
        this.rental_status = rental_status;
        this.rental_days = rental_days;
    }

    public RentalRecord() {
    }
}
